#pragma once

#include <string>

class RSRegister
{
	private:
		HKEY hKey;
		LONG ErrorCode;
		
	public:
		RSRegister(void);
		~RSRegister(void);

		bool OpenKey(std::wstring);
		void CloseKey();

		DWORD GetInteger(std::wstring);
		std::wstring GetWString(std::wstring);

		LONG LastError();
};
